﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DARE
{
    public abstract class ABoundingElement: AEntity
    {
        #region ctor

        public ABoundingElement(string name, CRender2D render2D)
            : this(name, render2D, null)
        {

        }

        public ABoundingElement(string name, CRender2D render2D, AEntity parent)
            : base(name, render2D, parent)
        {

        }

        #endregion

        #region methods

        public abstract bool Contains(CBoundingCircle element);

        public abstract bool Contains(CBoundingRectangle element);

        public abstract bool Intersects(CBoundingCircle element);

        public abstract bool Intersects(CBoundingRectangle element);

        #endregion
    }
}
